package com.liu.communitysystemend.module.user.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liu.communitysystemend.module.user.domain.User;
import com.liu.communitysystemend.module.user.domain.UserDto;
import com.liu.communitysystemend.utils.Result;

import java.util.Map;

/**
*
*/
public interface UserService {

    User getUserById(String id);

    User update(User user);
    public Page<User> getPage(User user);


    Result register(Map<String, String> registerUser);

    User add(User userDto);

    Page<UserDto> getAllPage(User hotelVO);

    Integer deleteById(String id);

    User selectOneByIdReturn(String uid);

    User selectByIdCard(String idCard);

    Integer test();

    User selectByRoomId(String roomId);
    User selectByCarId(String roomId);
}
